You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'tel:17819' class='c-bl pc-link'>.17819.jpg'' at line 1
SELECT id FROM `SC_errorPageLog` WHERE ip = '3.21.12.88' AND page = '/published/publicdata/SAJTZONASPORTA/attachments/SC/images/floridanevesomost<a href='tel:17819' class='c-bl pc-link'>.17819.</a>jpg'